import request from "@/utils/request";

export function login(data) {
  //返回一个 axios对象=>promise
  return request({
    //所有的接口都带 /api
    url: "/sys/login",
    method: "post",
    data,
  });
}

export function getInfo(token) {}

export function logout() {}
